package com.ruoyi.video.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 番剧文件对象 video_file
 *
 * @author ruoyi
 * @date 2022-02-04
 */
public class VideoFile extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * 文件名
     */
    @Excel(name = "文件名")
    private String fileName;

    /**
     * 文件路径
     */
    @Excel(name = "文件路径")
    private String filePath;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer sort;

    /**
     * 第几集,也可以是汉字,例如:番外1
     */
    @Excel(name = "第几集,也可以是汉字,例如:番外1")
    private String videoNumber;

    /**
     * 文件拓展名
     */
    @Excel(name = "文件拓展名")
    private String extendedName;

    /**
     * 番剧id
     */
    @Excel(name = "番剧id")
    private String videoId;

    /**
     * 字幕文件名
     */
    @Excel(name = "字幕文件名")
    private String subtitleName;

    /**
     * 字幕路径
     */
    @Excel(name = "字幕路径")
    private String subtitlePath;

    /**
     * 字幕拓展名
     */
    @Excel(name = "字幕拓展名")
    private String subtitleExtendedName;

    public VideoFile() {
    }

    public VideoFile(String id) {
        this.id = id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getSort() {
        return sort;
    }

    public void setVideoNumber(String videoNumber) {
        this.videoNumber = videoNumber;
    }

    public String getVideoNumber() {
        return videoNumber;
    }

    public void setExtendedName(String extendedName) {
        this.extendedName = extendedName;
    }

    public String getExtendedName() {
        return extendedName;
    }

    public void setVideoId(String videoId) {
        this.videoId = videoId;
    }

    public String getVideoId() {
        return videoId;
    }

    public void setSubtitleName(String subtitleName) {
        this.subtitleName = subtitleName;
    }

    public String getSubtitleName() {
        return subtitleName;
    }

    public void setSubtitlePath(String subtitlePath) {
        this.subtitlePath = subtitlePath;
    }

    public String getSubtitlePath() {
        return subtitlePath;
    }

    public void setSubtitleExtendedName(String subtitleExtendedName) {
        this.subtitleExtendedName = subtitleExtendedName;
    }

    public String getSubtitleExtendedName() {
        return subtitleExtendedName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("fileName", getFileName())
                .append("filePath", getFilePath())
                .append("sort", getSort())
                .append("videoNumber", getVideoNumber())
                .append("extendedName", getExtendedName())
                .append("videoId", getVideoId())
                .append("subtitleName", getSubtitleName())
                .append("subtitlePath", getSubtitlePath())
                .append("subtitleExtendedName", getSubtitleExtendedName())
                .toString();
    }
}
